import request from '@/utils/request'

const api = {
  clothesList: '/clothes/lists',
  clothesKinds: '/notControl/clothesKindsList',
  clothesAdd: '/clothes/add',
  clothesEdit: '/clothes/edit',
  clothesDel: '/clothes/delete',
  clothesKindsList: '/clothesKinds/lists',
  clothesKindsAdd: '/clothesKinds/add',
  clothesKindsEdit: '/clothesKinds/edit',
  clothesKindsDel: '/clothesKinds/delete',
  clothesStore: '/clothesStore/lists',
  clothesPutaway: '/clothes/putaway',
  clothesDownfall: '/clothes/downfall',
  clothesPriceList: '/clothesPrice/lists',
  clothesPriceAdd: '/clothesPrice/add',
  clothesPriceEdit: '/clothesPrice/edit',
  clothesPriceDel: '/clothesPrice/delete',
  clothesOrder: '/clothesOrder/lists',
  clothesSealSearch: '/clothesOrder/sealSearch',
  clothesWash: '/clothesOrder/wash',
  clothesOrderDetail: '/clothesOrder/detail',
  clothesRemarkDetail: '/clothesRemark/detail',
  clothesRemarkList: '/clothesRemark/lists',
  clothesSplit: '/clothesRemark/makeSplit',
  clothesMakeTag: '/clothesRemark/makeTag',
  clothesMakeColor: '/clothesRemark/makeColor',
  clothesAddColor: '/notControl/addClothesColor',
  clothesAddTag: '/notControl/addClothesTag',
  clothesOfflineList: '/clothesOffline/lists',
  clothesOfflineCode: '/notControl/codeOffline',
  clothesOfflineDetail: '/clothesOffline/detail',
  clothesOfflineBarPay: '/clothesOffline/barPay',
  clothesOfflineWalletPay: '/clothesOffline/walletPay',
  clothesOfflineWashPay: '/clothesOffline/washPay',
  clothesRefund: '/refund/refund',
  clothesConfirm: 'clothesOrder/affirmFinish',
  clothesScanCode: '/clothesOrder/scanBarcode',
  clothesDown: '/clothesOrder/down',
  clothesOrderPush: '/clothesStore/orderPush',
  activityAddClothes: '/clothesOrder/add',
  clothesPayStatus: 'clothesOffline/payStatus',
  delClothesTag: '/notControl/delClothesTag',
  clothesUserName: '/index/user',
  zoneBindCityLists: '/zoneBindCity/lists',
  storeUpkeep: '/index/storeUpkeep',
  imgBase64: '/notControl/imgBase64',
  clothesOrderEdit: '/clothesOrder/edit',
  clothesDouyinList: '/clothesDouyin/lists',
  clothesDouyinVerify: '/clothesDouyin/verify',
  clothesDouyinCancel: '/clothesDouyin/cancel',
  clothesDouyinConvert: '/clothesDouyin/convert',
  clothesDouyinShow: '/clothesDouyin/show',
  receiveExpress:'/ClothesOrder/receiveExpress',
  toExpress:'/ClothesOrder/toExpress',
  cannelExpress:'/ClothesOrder/cannelExpress',
  orderInfo:'/ClothesOrder/info',
}
export function orderInfo(parameter){
	return request({
	  url: api.orderInfo,
	  method: 'post',
	  data: parameter
	})
}
export function cannelExpress(parameter){
	return request({
	  url: api.cannelExpress,
	  method: 'post',
	  data: parameter
	})
}
export function toExpress(parameter){
	return request({
	  url: api.toExpress,
	  method: 'post',
	  data: parameter
	})
}
export function receiveExpress(parameter){
	return request({
	  url: api.receiveExpress,
	  method: 'post',
	  data: parameter
	})
}
export function clothesPayStatus(parameter) {
  return request({
    url: api.clothesPayStatus,
    method: 'post',
    data: parameter
  })
}

export function activityAddClothes(parameter) {
  return request({
    url: api.activityAddClothes,
    method: 'post',
    data: parameter
  })
}

export function clothesOrderPush(parameter) {
  return request({
    url: api.clothesOrderPush,
    method: 'get',
    params: parameter
  })
}

export function clothesDown(parameter) {
  return request({
    url: api.clothesDown,
    method: 'get',
    params: parameter,
    responseType: 'blob'
  })
}

export function clothesScanCode(parameter) {
  return request({
    url: api.clothesScanCode,
    method: 'get',
    params: parameter
  })
}

export function clothesConfirm(parameter) {
  return request({
    url: api.clothesConfirm,
    method: 'post',
    data: parameter
  })
}

export function clothesRefund(parameter) {
  return request({
    url: api.clothesRefund,
    method: 'post',
    data: parameter
  })
}

export function clothesOfflineWashPay(parameter) {
  return request({
    url: api.clothesOfflineWashPay,
    method: 'post',
    data: parameter
  })
}

export function clothesOfflineWalletPay(parameter) {
  return request({
    url: api.clothesOfflineWalletPay,
    method: 'post',
    data: parameter
  })
}

export function clothesOfflineBarPay(parameter) {
  return request({
    url: api.clothesOfflineBarPay,
    method: 'post',
    data: parameter
  })
}

export function clothesOfflineDetail(parameter) {
  return request({
    url: api.clothesOfflineDetail,
    method: 'post',
    data: parameter
  })
}

export function clothesOfflineCode(parameter) {
  return request({
    url: api.clothesOfflineCode,
    method: 'get',
    params: parameter
  })
}

export function clothesOfflineList(parameter) {
  return request({
    url: api.clothesOfflineList,
    method: 'get',
    params: parameter
  })
}

export function clothesAddTag(parameter) {
  return request({
    url: api.clothesAddTag,
    method: 'post',
    data: parameter
  })
}

export function clothesAddColor(parameter) {
  return request({
    url: api.clothesAddColor,
    method: 'post',
    data: parameter
  })
}

export function clothesMakeColor(parameter) {
  return request({
    url: api.clothesMakeColor,
    method: 'post',
    data: parameter
  })
}

export function clothesMakeTag(parameter) {
  return request({
    url: api.clothesMakeTag,
    method: 'post',
    data: parameter
  })
}

export function clothesSplit(parameter) {
  return request({
    url: api.clothesSplit,
    method: 'post',
    data: parameter
  })
}

export function clothesRemarkList(parameter) {
  return request({
    url: api.clothesRemarkList,
    method: 'get',
    params: parameter
  })
}

export function clothesRemarkDetail(parameter) {
  return request({
    url: api.clothesRemarkDetail,
    method: 'get',
    params: parameter
  })
}

export function clothesOrderDetail(parameter) {
  return request({
    url: api.clothesOrderDetail,
    method: 'get',
    params: parameter
  })
}

export function clothesWash(parameter) {
  return request({
    url: api.clothesWash,
    method: 'get',
    params: parameter
  })
}

export function clothesSealSearch(parameter) {
  return request({
    url: api.clothesSealSearch,
    method: 'get',
    params: parameter
  })
}

export function clothesOrder(parameter) {
  return request({
    url: api.clothesOrder,
    method: 'get',
    params: parameter
  })
}

export function clothesPriceDel(parameter) {
  return request({
    url: api.clothesPriceDel,
    method: 'get',
    params: parameter
  })
}

export function clothesPriceEdit(parameter) {
  return request({
    url: api.clothesPriceEdit,
    method: 'post',
    data: parameter
  })
}

export function clothesPriceAdd(parameter) {
  return request({
    url: api.clothesPriceAdd,
    method: 'post',
    data: parameter
  })
}

export function clothesPriceList(parameter) {
  return request({
    url: api.clothesPriceList,
    method: 'get',
    params: parameter
  })
}

export function clothesDownfall(parameter) {
  return request({
    url: api.clothesDownfall,
    method: 'get',
    params: parameter
  })
}

export function clothesPutaway(parameter) {
  return request({
    url: api.clothesPutaway,
    method: 'get',
    params: parameter
  })
}

export function clothesStoreList(parameter) {
  return request({
    url: api.clothesStore,
    method: 'get',
    params: parameter
  })
}

export function getClothesList(parameter) {
  return request({
    url: api.clothesList,
    method: 'get',
    params: parameter
  })
}

export function getClothesKinds(parameter) {
  return request({
    url: api.clothesKinds,
    method: 'get',
    params: parameter
  })
}

export function clothesEdit(parameter) {
  return request({
    url: api.clothesEdit,
    method: 'post',
    data: parameter
  })
}

export function clothesAdd(parameter) {
  return request({
    url: api.clothesAdd,
    method: 'post',
    data: parameter
  })
}

export function clothesDel(parameter) {
  return request({
    url: api.clothesDel,
    method: 'get',
    params: parameter
  })
}

export function getClothesKindsList(parameter) {
  return request({
    url: api.clothesKindsList,
    method: 'get',
    params: parameter
  })
}

export function clothesKindsAdd(parameter) {
  return request({
    url: api.clothesKindsAdd,
    method: 'post',
    data: parameter
  })
}

export function clothesKindsEdit(parameter) {
  return request({
    url: api.clothesKindsEdit,
    method: 'post',
    data: parameter
  })
}

export function clothesKindsDel(parameter) {
  return request({
    url: api.clothesKindsDel,
    method: 'get',
    params: parameter
  })
}

export function delClothesTag(parameter) {
  return request({
    url: api.delClothesTag,
    method: 'post',
    data: parameter
  })
}

export function clothesUserName(parameter) {
  return request({
    url: api.clothesUserName,
    method: 'post',
    data: parameter
  })
}

export function zoneBindCityLists(parameter) {
  return request({
    url: api.zoneBindCityLists,
    method: 'post',
    data: parameter
  })
}

export function storeUpkeep (parameter) {
  return request({
    url: api.storeUpkeep,
    method: 'post',
    data: parameter
  })
}

export function imgBase64 (parameter) {
  return request({
    url: api.imgBase64,
    method: 'post',
    data: parameter
  })
}

export function clothesOrderEdit (parameter) {
  return request({
    url: api.clothesOrderEdit,
    method: 'post',
    data: parameter
  })
}

export function clothesDouyinList (parameter) {
  return request({
    url: api.clothesDouyinList,
    method: 'post',
    data: parameter
  })
}

export function clothesDouyinVerify (parameter) {
  return request({
    url: api.clothesDouyinVerify,
    method: 'post',
    data: parameter
  })
}

export function clothesDouyinCancel (parameter) {
  return request({
    url: api.clothesDouyinCancel,
    method: 'post',
    data: parameter
  })
}

export function clothesDouyinConvert (parameter) {
  return request({
    url: api.clothesDouyinConvert,
    method: 'post',
    data: parameter
  })
}

export function clothesDouyinShow (parameter) {
  return request({
    url: api.clothesDouyinShow,
    method: 'post',
    data: parameter
  })
}
